import request from '@/utils/request'

// 银行余额分页
export function getList(params) {
  return request({
    url: '/bankBalance/selectPage',
    method: 'POST',
    params
  })
}

// 银行余额添加
export function insertBankBalance(data) {
  return request({
    url: '/bankBalance/insert',
    method: 'POST',
    data
  })
}

// 银行余额单查
export function selectBankBalance(params) {
  return request({
    url: '/bankBalance/findId',
    method: 'POST',
    params
  })
}

// 银行余额修改
export function updateBankBalance(data) {
  return request({
    url: '/bankBalance/update',
    method: 'POST',
    data
  })
}

// 银行余额删除
export function delBankBalance(data) {
  return request({
    url: '/bankBalance/del',
    method: 'POST',
    data
  })
}

// 银行余额详情
export function bankBalanceDetails(params) {
  return request({
    url: '/bankBalance/details',
    method: 'POST',
    params
  })
}

